import { defineComponent, PropType } from 'vue';
import { Charts } from '../components/statistics/Charts';
import { TimeTabsLayout } from '../layouts/TimeTabsLayout';
export const StatisticsPage = defineComponent({
    props: {
        name: {
            type: String as PropType<'add' | 'pig'>
        }
    },
    setup: (props, context) => {
        return () => (
            //     <MainLayouts>{{
            //         title: () => "统计图",
            //         icon: () => <Icon name="left" />,
            //         default: () => <>
            //             <Tabs>
            //                 <Tab name='本月'></Tab>
            //                 <Tab name='上月'></Tab>
            //                 <Tab name='今年'></Tab>
            //                 <Tab name='自定义时间'></Tab>
            //             </Tabs>

            //         </>
            //     }}</MainLayouts>
            <TimeTabsLayout component={Charts} />
        )
    }
})